<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="css/loong.css">
	<link rel="stylesheet" href="css/datepicker.css" />
	
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	
</head>
<body class="body">
	
	dna<%@ include file="include/top.jsp" %>
	<!-- 头结束 -->	
	
	<div class="container">
	  <div class="row">
		<div class="span9">
			<form class="form-horizontal" action="/new_task.jspx" method="post">
        <fieldset>
          <legend>添加新任务</legend>
          <div class="control-group">
            <label class="control-label" for="input01">任务名称</label>
            <div class="controls">
              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" name="name">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="input01">开始时间</label>
            <div class="controls">
              <input type="text" class="span5 datepicker"value="3-16-2013" id="input01" x-webkit-speech="undefined" name="begintime">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="input01">截止时间</label>
            <div class="controls">
              <input type="text" class="span5 datepicker"value="3-16-2013" id="input01" x-webkit-speech="undefined" name="endtime">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="input01">任务描述</label>
            <div class="controls">
              <textarea class="span5" rows="8" name="desc"></textarea>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="multiSelect">状态</label>
            <div class="controls">
              <select id="multiSelect" name="state">
                <option value="新任务">新任务</option>
                <option value="进行中">进行中</option>
                <option value="已完成">已完成</option>
              </select>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="multiSelect">级别</label>
            <div class="controls">
              <select id="multiSelect" name="level">
                <option value="重要紧急">重要紧急</option>
                <option value="重要不紧急">重要不紧急</option>
                <option value="紧急不重要">紧急不重要</option>
                <option value="不紧急不重要">不紧急不重要</option>
              </select>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="multiSelect">负责人</label>
            <div class="controls">
              <select id="multiSelect" name="employeeid">
              	<option></option>
                <c:forEach var="item" items="${requestScope.list }">
                	<option value="${item.id }">${item.username }</option>
                </c:forEach>
              </select>
            </div>
          </div>
          
          <div class="form-actions">
            <button type="submit" class="btn btn-primary">保存</button>
            <button class="btn" onclick="location.back()">返回</button>
          </div>
        </fieldset>
      </form>          
          	
		</div>
	  </div>
	  <%@ include file="include/foot.jsp" %>
	</div>
	<script type="text/javascript" src="js/bootstrap-datepicker.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$('.datepicker').datepicker();
		});
	</script>
</body>
</html>
